//Francisco "Kiko" Olvera
//Only class to #include <time.h>
//Returns either current time or change in time
//Clock.h

#include "Clock.h"

float Clock::getCurrentTime()
{
	return (float)time(0);
}

float Clock::getDT()
{
	now = clock();
	dt = (float)now-then;
	then = now;
	return dt;
}